<template>
  <div>
    <dialog-edit :visible.sync="dialogVisible" :title="$attrs.Title||'新增任务'" ref="userManageEdit" width="1000"
                 height="550" @save="save" :saveLoading="saveLoading" :escClosable="false">
      <template slot="body">
        <dym-form :formData="formData" :components="components" :formRules="formRules" class="dymForm"
                  ref="dymForm">
          <vxe-input prop="Parenttaskid" v-model="formData.Parenttaskid" :maxlength="30" :disabled="true" slot="Parenttaskid"></vxe-input>
        </dym-form>
      </template>
    </dialog-edit>
    <test-dialog :title="'反馈选择'" :preFormData="preFormData" :visible.sync="testDialogVisible" @selectData="selectData"></test-dialog>
  </div>
</template>

<script>
import dialogEdit from '@/components/element/dialogEdit'
import dymForm from '@/components/element/dymForm'
import taskAddDialog from './taskAddDialog_j.js'
import testDialog from '@/page/ProjectManage/modules/proTest/testDialog'

export default {
  mixins: [taskAddDialog],
  name: "taskAddDialog",
  components: {
    dialogEdit,
    dymForm,
    testDialog
  },
  data () {
    return {
      testDialogVisible: false,
      preFormData: {}
    }
  },
  methods: {

  }
}
</script>

<style scoped>
.dymForm >>> .el-date-editor {
  width: 100%;
}
</style>